package com.amigo.online.provider.user.model.entity;

import javax.persistence.Column;
import javax.persistence.Table;

import org.apache.ibatis.type.Alias;

import com.amigo.online.common.base.entity.BaseEntity;

/**
 * @author kml 709628161@qq.com
 * @ClassName: UserDevice
 * @Description: 用户设备信息表
 * @date 2019年1月15日 下午6:25:44
 */
@Table(name = "user_device_tbl")
@Alias(value = "userDevice")
public class UserDevice extends BaseEntity {

    private static final long serialVersionUID = -440415887130450806L;

    @Column(name = "user_id")
    private Long userId;

    @Column(name = "type")
    private Integer type;

    @Column(name = "unique_code")
    private String uniqueCode;

    @Column(name = "updated_time")
    private Long updatedTime;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getUniqueCode() {
        return uniqueCode;
    }

    public void setUniqueCode(String uniqueCode) {
        this.uniqueCode = uniqueCode;
    }

    public Long getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Long updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }


}
